package com.kuaimacode.kframework.mybatis.mapper.admin;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kuaimacode.kframework.mybatis.models.admin.SysAdminUser;

/**
 * 管理用户信息
 */
public interface SysAdminUserMapper extends BaseMapper<SysAdminUser> {

	/**
	 * 根据用户名查找用户
	 *
	 * @param userName 用户名
	 * @return
	 */
	SysAdminUser findByUserName(@Param("userName") String userName);

}
